/**
 * 
 */
package com.swss.g.assets.service;

import com.swss.g.assets.bean.Asset;
import com.swss.g.assets.bean.AstChangeApply;
import com.swss.g.assets.bean.AstChangeFinAduit;
import com.swss.g.assets.bean.AstRange;
import com.swss.g.assets.bean.ChangeAsset;
import com.swss.g.base.BaseService;
import com.swss.util.Pagination;

public interface ChangeService extends BaseService<ChangeAsset> {
	
	//处置申报查询
	@SuppressWarnings("unchecked")
	public Pagination findChangeApplyByExample(Pagination pagination,Asset asset,AstRange astRange,String deptNo,String hqlCondition) throws Exception;
	//处置申请
	public int goApply(AstChangeApply astChangeApply,String auditNoArray,String chageBillNo)throws Exception;
	//查询申报管理、初审、财审、终审查询
	@SuppressWarnings("unchecked")
	public Pagination findChangeApplyAduitByExample(Pagination pagination,ChangeAsset changeAsset,AstRange astRange,String deptNo,String hqlCondition,int funtype)throws Exception;
	//申报管理-撤销
	public int changeAstDeleteAll(String auditNoArray) throws Exception;
	//单一处置资产详情
	public ChangeAsset findChageOneById(Integer id)throws Exception;
	//处置初审
	public int FirstChangeAuditUpdate(String auditNoArray) throws Exception;
	//处置终审
	public int LastChangeAuditUpdate(String auditNoArray) throws Exception;
	//终审退回
	public int astChangeLastAuditBack(String auditNoArray,String returreas) throws Exception;
	//处置财审
	public int FinanceChangeAuditUpdate(String auditNoArray,AstChangeFinAduit astChangeFinAduit) throws Exception;
	//处置财审退回
	public int astChangeFinAuditBack(String auditNoArray,String returreas) throws Exception;
	//恢复财务审核
	public int astChangeFinthroughAudit(String auditNoArray) throws Exception;
	//已处置恢复
	public int ChangeRecoveryApplyAduit(String auditNoArray) throws Exception;
	//导出Excel数据查询
	@SuppressWarnings("unchecked")
	public Pagination findExcelExportByExample(Pagination pagination,ChangeAsset chageasset,String deptNo,int  findType)throws Exception;
}
